local thbattle__qiurangzi_fengshou = fk.CreateSkill {

  name = "thbattle__qiurangzi_fengshou",

  tags = { Skill.Compulsory, },

}



thbattle__qiurangzi_fengshou:addEffect(fk.EventPhaseEnd, {
  anim_type = "drawcard",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(thbattle__qiurangzi_fengshou.name) and player.phase == Player.Draw and #player:getCardIds("h") < 5
  end,
  on_use = function(self, event, target, player, data)
    player:drawCards(5 - #player:getCardIds("h"), thbattle__qiurangzi_fengshou.name)
  end
})

return thbattle__qiurangzi_fengshou